<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_content
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

?>
<div class="archive<?php echo $this->pageclass_sfx;?>">
<?php if ($this->params->get('show_page_heading', 1)) : ?>
<h1>
	<?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>
<?php endif; ?>
<form id="adminForm" action="<?php echo JRoute::_('index.php')?>" method="post">
	<input type="hidden" name="view" value="casos" />
	<input type="hidden" name="option" value="com_igzclientes" />
	<input type="hidden" name="limitstart" value="0" />

<?php //echo $this->loadTemplate('items'); 
	$params = &$this->params;
?>

	<ul id="archive-items">
	<?php foreach ($this->items as $i => $item) : ?>
		<li class="row<?php echo $i % 2; ?>">

			<a href="<?php echo JRoute::_('index.php?option=com_igzclientes&view=caso&id='.$item->id);?>">
				<div>
					<?php 
					$im = strip_tags($item->imagen,'<img>');					
					echo $im;
					?>
				</div>
				<div>
					<?php echo $this->escape($item->titulo); ?>
				</div>
			</a>
	
		</li>
	<?php endforeach; ?>
	</ul>

	<div class="pagination">
		<p class="counter">
			<?php echo $this->pagination->getPagesCounter(); ?>
		</p>
		<?php echo $this->pagination->getPagesLinks(); ?>
	</div>


</form>
</div>